package com.biz.primus.ms.cart.service.builder;


import com.biz.primus.model.cart.vo.ShopCartBundleVo;

/**
 * 购物车bundle Builder
 *
 * @author lei
 * @date 2017/01/17
 */
public class ShopCartBundleBuilder {
    private ShopCartBundleBuilder() {
    }

    private ShopCartBundleVo cartBundleVo;

    public static ShopCartBundleBuilder createBuilder() {
        ShopCartBundleBuilder builder = new ShopCartBundleBuilder();
        builder.cartBundleVo = new ShopCartBundleVo();
        return builder;
    }

    public ShopCartBundleBuilder setTitle(String title) {
        cartBundleVo.setTitle(title);
        return this;
    }

    public ShopCartBundleVo build() {
        return cartBundleVo;
    }
}
